package com.netty.nio;

public class TimeServer {

    public static void main(String[] args) {
        int port = 8080;
        //独立线程，负责轮询多用复用器selector,处理多个客户端的并发接入
        TimeServerHandle timeServer = new TimeServerHandle(port);
        new Thread(timeServer,"NIO").start();
    }
}
